﻿namespace Actya.Core.SiteStructure.Events
{
	public class PageCreated
	{
		public Page Page { get; private set; }
		public bool IncludeInNavigation { get; private set; }
		public string ParentNodeId { get; private set; }
		public string MenuText { get; private set; }
		public bool IsHomePage { get; private set; }

		public PageCreated(Page page, bool includeInNavigation, string parentNodeId, string menuText, bool isHomePage)
		{
			this.Page = page;
			IncludeInNavigation = includeInNavigation;
			ParentNodeId = parentNodeId;
			MenuText = menuText;
			IsHomePage = isHomePage;
		}
	}
}
